home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xi / XSetDeviceValuators.z / XSetDeviceValuators
Encoding:
Text File  |  2002-10-03  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttDDDDeeeevvvviiiicccceeeeVVVVaaaalllluuuuaaaattttoooorrrrssss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeettttDDDDeeeevvvviiiicccceeeeVVVVaaaalllluuuuaaaattttoooorrrrssss((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetDeviceValuators - initialize the valuators on an
  10.           extension input device
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XSetDeviceValuators(_d_i_s_p_l_a_y, _d_e_v_i_c_e, _v_a_l_u_a_t_o_r_s,
  14.           _f_i_r_s_t__v_a_l_u_a_t_o_r, _n_u_m__v_a_l_u_a_t_o_r_s)
  15.                 Display *_d_i_s_p_l_a_y;
  16.                 XDevice *_d_e_v_i_c_e;
  17.                 int *_v_a_l_u_a_t_o_r_s;
  18.                 int _f_i_r_s_t__v_a_l_u_a_t_o_r;
  19.                 int _n_u_m__v_a_l_u_a_t_o_r_s;
  20.  
  21.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  22.           _d_i_s_p_l_a_y     Specifies the connection to the X server.
  23.  
  24.           _d_e_v_i_c_e      Specifies the device whose valuators are to be
  25.                       initialized.
  26.  
  27.           _v_a_l_u_a_t_o_r_s   Specifies a pointer to an array of integer
  28.                       values to be used to initialize the device
  29.                       valuators.
  30.  
  31.           _f_i_r_s_t__v_a_l_u_a_t_o_r
  32.                       Specifies the first valuator to be set.
  33.                       Valuators are numbered beginning with zero.
  34.  
  35.           _n_u_m__v_a_l_u_a_t_o_r_s
  36.                       Specifies the number of valuators to be set.
  37.  
  38.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  39.           The _X_S_e_t_D_e_v_i_c_e_V_a_l_u_a_t_o_r_s request sets the current values of
  40.           the valuators of an input device.  The valuators in the
  41.           range first_valuator to (first_valuator + num_valuators) are
  42.           set to the specified values.  Valuators are numbered
  43.           beginning with 0.  Not all input devices support
  44.           initialization of valuator values.  If this request is made
  45.           to a device that does not support valuators initialization,
  46.           a _B_a_d_M_a_t_c_h error will occur.
  47.  
  48.           If the request succeeds, a status of Success is returned.
  49.           If another client has the device grabbed, a status of
  50.           AlreadyGrabbed is returned.
  51.  
  52.           _X_S_e_t_D_e_v_i_c_e_V_a_l_u_a_t_o_r_s can generate a _B_a_d_L_e_n_g_t_h, _B_a_d_D_e_v_i_c_e ,
  53.           _B_a_d_M_a_t_c_h, or _B_a_d_V_a_l_u_e error.
  54.  
  55.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  56.           _B_a_d_D_e_v_i_c_e   An invalid device was specified.  The specified
  57.                       device does not exist or has not been opened by
  58.                       this client via _X_O_p_e_n_I_n_p_u_t_D_e_v_i_c_e.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeettttDDDDeeeevvvviiiicccceeeeVVVVaaaalllluuuuaaaattttoooorrrrssss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeettttDDDDeeeevvvviiiicccceeeeVVVVaaaalllluuuuaaaattttoooorrrrssss((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           _B_a_d_M_a_t_c_h    This error may occur if an _X_S_e_t_D_e_v_i_c_e_V_a_l_u_a_t_o_r_s
  75.                       request is made specifying a device that has no
  76.                       valuators and reports no axes of motion, or if
  77.                       such a request is made specifying a device that
  78.                       does not support valuator initialization.
  79.  
  80.           _B_a_d_V_a_l_u_e    An invalid first_valuator or num_valuators
  81.                       values was specified.
  82.  
  83.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  84.           _P_r_o_g_r_a_m_m_i_n_g _w_i_t_h _X_l_i_b
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.